﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Helper
{
    public class PagerInfo
    {
        /// <summary>
        /// 表名（联表）或视图
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 查询条件集合
        /// </summary>
        public SearchCondition Condition { get; set; }
        /// <summary>
        /// 显示的列
        /// </summary>
        public string Fields { get; set; }

        /// <summary>
        /// 查询条件
        /// </summary>
        public string Where { get; set; }

        /// <summary>
        /// 排序的列
        /// </summary>
        public string SortField { get; set; }

        /// <summary>
        /// 是否降序排列
        /// </summary>
        public bool IsDescending { get; set; }

        /// <summary>
        /// 当前页
        /// </summary>
        public int CurPage { get; set; }

        /// <summary>
        /// 每页显示记录条数
        /// </summary>
        public int PageSize { get; set; }
    }
}
